package com.castle.fortress.admin.rule.listRule.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
/**
 * 规则清单与规则关联表 实体类
 *
 * @author
 * @since 2025-04-22
 */
@Data
@TableName("rule_list_rule")
public class RuleListRuleEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 关联ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 清单ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long listId;
	/**
	 * 规则ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long ruleId;
	/**
	 * 合约ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long contractId;
	/**
	 * 创建时间
	*/
	private Date createTime;
	/**
	 * 修改时间
	*/
	private Date updateTime;
	/**
	 * 创建人
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long createUser;
	/**
	 * 修改人
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long updateUser;
	/**
	 * 删除状态：2-未删除，1-已删除
	*/
	private Integer isDeleted;

}
